﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.Prefab
{
	// Token: 0x020001D3 RID: 467
	[PrefabRuleAttr]
	internal class PS_TextureSize : RecordRuleImp<ParticleSystemAssetData, ParticleSystemRecordManager>
	{
		// Token: 0x06000EB2 RID: 3762 RVA: 0x00042630 File Offset: 0x00040830
		protected override bool IsOK(ParticleSystemAssetData assetData)
		{
			return (float)assetData.maxTextureSize <= this.GetThresholds(256f);
		}
	}
}
